package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommodityListResponse对象", description="商品列表对象")
public class CommodityListResponse {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;


    @ApiModelProperty(value = "商品价格(价格为整数 1代表一分钱)")
    private Integer price;


    @ApiModelProperty(value = "商品库存")
    private Integer stock;


    @ApiModelProperty(value = "是否上架（1上架，2下架）")
    private Integer shelves;


    @ApiModelProperty(value = "创建时间")
    private Date createDate;


}
